<%@ page language="java" contentType="text/html; charset=ISO-8859-1" import="java.util.Calendar,java.text.SimpleDateFormat;;"
    pageEncoding="ISO-8859-1"%>
 <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {font-size: 52px; color: #333333; font-family: "Monotype Corsiva";}
#Layer1 {
	position:absolute;
	width:50%;
	height:20%;
	z-index:1;
	left: 22%;
	top: 50%;
}
#Layer2 {
	position:absolute;
	width:10%;
	height:100%;
	z-index:1;
	left: 10%;
	top: 55%;
	overflow: visible;
}
#Layer3 {
	position:absolute;
	width:18%;
	height:9%;
	z-index:2;
	left: 10%;
	top: 35%;
}
#Layer4 {
	position:absolute;
	width:10%;
	height:34px;
	z-index:3;
	left: 80%;
	top: 125px;
}
#Layer5 {
	position:absolute;
	width:100%;
	height:20%;
	z-index:2;
	top: 80%;
}


#Layer8 {
	position:absolute;
	text-align:right;
	font-size:20px;
	width:19%;
	height:28px;
	z-index:101;
	left: 80%;
	top: 58px;
}
#Layer9 {
	position:absolute;
	text-align:right;
	font-size:20px;
	width:19%;
	height:28px;
	z-index:101;
	left: 80%;
	top: 35px;
}
#Layer10 {
	position:absolute;
	text-align:right;
	font-size:20px;
	width:19%;
	height:08px;
	z-index:101;
	left: 80%;
	top: 10px;
}
.style11 {font-size: 36px; color: #333333; font-family: "Monotype Corsiva"; }
.style12 {font-size: 36px; font-family: "Times New Roman", Times, serif;}
.style13 {font-size: 36px; color:#800000; font-weight:bold; font-family: "Times New Roman", Times, serif;}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>


<script type="text/javascript" src="css/dropdowntabs.js">
</script>
<jsp:include page="../scripts/redirectscript.jsp" />
</head>
<%
HttpSession s = request.getSession();
String name=(String)s.getAttribute("uname");
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat formatter=	new SimpleDateFormat("yyyy/MMM/dd");
String dateNow = formatter.format(currentDate.getTime());
%> 
<body>
<jsp:include page="../scripts/redirectscript.jsp" />
<div id="topPan">
  <div id="topContactPan" align="center">    
    <div align="center"><span class="style2"><a href ="javascript:sethome()"><font color="#000000">Automate Document Generation</font></a></span> </div>
  </div>
</div>


<!-- CSS for Drop Down Tabs Menu #3 -->

<link href="css/style.css" rel="stylesheet" type="text/css" />



	<TABLE  ALIGN="center">
<TR>
	<TD><div id="slidemenu" class="slidetabsmenu">
<ul>
<li><a href="javascript:sethome()" title="Home"><span>Home</span></a></li>
<li><a title="User" rel="dropmenu1_c"><span>User</span></a></li>
<li><a title="Template" rel="dropmenu2_c"><span>Template</span></a></li>
<li><a title="Report" rel="dropmenu3_c"><span>Report</span></a></li>


</ul>
</div>

<br style="clear: left;" />
<br class="IEonlybr" />



<!--1st drop down menu -->                                                   
<div id="dropmenu1_c" class="dropmenudiv_c">
<a href="javascript:setadduser()">Add User</a>
<a href="javascript:setedituser()">Edit User</a>
<a href="javascript:setdeluser()">Delete User</a>
</div>


<!--2nd drop down menu -->                                                
<div id="dropmenu2_c" class="dropmenudiv_c" style="width: 150px;">
<a href="javascript:setaddtemp()">Add Template</a>
</div>

<!--3nd drop down menu -->                                                
<div id="dropmenu3_c" class="dropmenudiv_c" style="width: 150px;">
<a href="javascript:setnewreport()">New Report</a>
<a href="javascript:setopenreport()">Open Report</a>
<a href="javascript:setgenreport()">generate Report</a>

</div>






<script type="text/javascript">
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
tabdropdown.init("slidemenu")
</script>

</TD>
</TR>
</TABLE>








<p>&nbsp;</p>
<p>&nbsp;</p>

</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="style13" id="Layer10">Date : <%=dateNow%></div>
<div class="style13" id="Layer9"><%=name%></div>
<div class="style12" id="Layer8"><a href="javascript:setlogout()"><FONT COLOR="#800000">Logout</FONT></a></div>
<p>&nbsp;</p>
<p>&nbsp;</p>

</body>
</html>
